package com.example.chatweb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 实体关系表
 * @TableName entity_relation
 */
@TableName(value ="entity_relation")
@Data
public class EntityRelation implements Serializable {
    /**
     * 实体或关系实例唯一标识
     */
    @TableId
    private String id;

    /**
     * 用户标识
     */
    private Integer userid;

    /**
     * 实体类别
     */
    private String label;

    /**
     * 实体或关系实例
     */
    private String content;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}